package games.catchTheCreature;

import commonDataStructures.PQueue;
import commonDataStructures.PSingleCollection;
import commonDataStructures.PSortedCollection;
import commonDataStructures.PStack;

public class Platform {

	public static final int WORLD_SIZE = 15;
	public static final int P_X = 0;
	public static final int P_Y = 0;
	public static final int TIME_TO_RUN=1;

	@SuppressWarnings(value="unused")
	public static void runSingleAStarTest(){
		CTCBoard world = new CTCBoard(WORLD_SIZE,WORLD_SIZE);
		world.generateBoard(P_X, P_Y);
		CatchTheCreature game = new CatchTheCreature(world);
		GameInfo res = game.playGame(new PSortedCollection<CTCState>(),TIME_TO_RUN);
	}
	
	@SuppressWarnings(value="unused")
	public static void runSingleHillClimbing(){
		CTCBoard world = new CTCBoard(WORLD_SIZE,WORLD_SIZE);
		world.generateBoard(P_X, P_Y);
		CatchTheCreature game = new CatchTheCreature(world);
		GameInfo res = game.playGame(new PSingleCollection<CTCState>(),TIME_TO_RUN);
	}

	@SuppressWarnings(value="unused")
	public static void runSingleBFSTest(){
		CTCBoard world = new CTCBoard(WORLD_SIZE,WORLD_SIZE);
		world.generateBoard(P_X, P_Y);
		CatchTheCreature game = new CatchTheCreature(world);
		GameInfo res = game.playGame(new PQueue<CTCState>(),TIME_TO_RUN);
	}

	@SuppressWarnings(value="unused")
	public static void runSingleDFSTest(){
		CTCBoard world = new CTCBoard(WORLD_SIZE,WORLD_SIZE);
		world.generateBoard(P_X, P_Y);
		CatchTheCreature game = new CatchTheCreature(world);
		GameInfo res = game.playGame(new PStack<CTCState>(),TIME_TO_RUN);
	}
	
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
	}

}
